package com.ms.p2p.utils;

import com.ms.p2p.entity.loan.Loan;
import com.ms.p2p.entity.loan.LoanStay;

public interface LoanStayInfo {
    /**
     * 等额本息 status 1
     * */
    public LoanStay equalPrincipalAndInterest(Loan borrow, int i,String ip);

    /***
     *
     * 一次性还本付息  status 0
     */
    public LoanStay lumpSumDebt(Loan borrow,String ip);

    /***
     * 等本等息（不提前还款）       status 4
     * 等本等息（提前还款一个月）   status 5
     * 等本等息（提前还款两个月）   status 6
     */
    public LoanStay equalInstallmentPayment(Loan borrow, int order, String stayTime,String ip);

    /***
     *
     * 先息后本 status 3
     */
    public LoanStay FirstCouponLaterEdition(Loan borrow, int i,String ip);



}